package com.sunny.myproject.storem.entity;

import javax.persistence.Entity;

import com.sunny.myproject.system.entity.IdEntity;

/**
 * 材料
 * @author sunny_nie
 *
 */
@Entity(name="tb_materiel")
public class Materiel extends IdEntity{
	
	/**
	 * 名称 
	 */
	private String name;
	/**
	 * 编码
	 */
	private String code;
	/**
	 * 单位
	 */
	private String unit;
	/**
	 * 类别
	 */
	private String clas;
	/**
	 * 保存类型
	 */
	private String saveType;
	/**
	 * 安全
	 */
	private String safety;
	/**
	 * 类型
	 */
	private String type;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUnit() {
		return unit;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getClas() {
		return clas;
	}
	public void setClas(String clas) {
		this.clas = clas;
	}
	public String getSaveType() {
		return saveType;
	}
	public void setSaveType(String saveType) {
		this.saveType = saveType;
	}
	public String getSafety() {
		return safety;
	}
	public void setSafety(String safety) {
		this.safety = safety;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	

}
